package com.java.tools.mouse.e1;

import java.awt.*;

/**
 * @author wangning
 * @create 2022-03-18 14:39
 */
public class GetMousePosition {
	public static void main(String[] args) {
		Point point = MouseInfo.getPointerInfo().getLocation();
		System.out.println("鼠标当前位置：" + point.getX() + "," + point.getY());
	}
}
